package com.education.basic.entity;

import javax.persistence.Entity;
import javax.persistence.Table;

import com.yunshangwoniu.core.AbstractEntity;

/**
 * 
 * 成绩表
 *
 */
@Entity
@Table(name="score")
public class Score extends AbstractEntity
{
	private static final long serialVersionUID = -4491005886723888066L;
	
	private String stuNo;						//学号
	private String studentName;					//学生姓名
	private String courseCode;					//课程编号		
	private String courseName;					//课程名
	private double score;						//分数
	private boolean isPass;						//是否及格
	private String empno;						//任课老师工号
	private String teacherName;					//任课老师名
	
	public String getStuNo()
	{
		return stuNo;
	}
	public void setStuNo(String stuNo)
	{
		this.stuNo = stuNo;
	}
	public String getStudentName()
	{
		return studentName;
	}
	public void setStudentName(String studentName)
	{
		this.studentName = studentName;
	}
	public String getCourseCode()
	{
		return courseCode;
	}
	public void setCourseCode(String courseCode)
	{
		this.courseCode = courseCode;
	}
	public String getCourseName()
	{
		return courseName;
	}
	public void setCourseName(String courseName)
	{
		this.courseName = courseName;
	}
	public double getScore()
	{
		return score;
	}
	public void setScore(double score)
	{
		this.score = score;
	}
	public boolean isPass()
	{
		return isPass;
	}
	public void setPass(boolean isPass)
	{
		this.isPass = isPass;
	}
	public static long getSerialversionuid()
	{
		return serialVersionUID;
	}
	public Score(String stuNo, String studentName, String courseCode,
			String courseName, double score, boolean isPass, String empno,
			String teacherName) {
		super();
		this.stuNo = stuNo;
		this.studentName = studentName;
		this.courseCode = courseCode;
		this.courseName = courseName;
		this.score = score;
		this.isPass = isPass;
		this.empno = empno;
		this.teacherName = teacherName;
	}
	public Score()
	{
		super();
	}
	public String getEmpno()
	{
		return empno;
	}
	public void setEmpno(String empno)
	{
		this.empno = empno;
	}
	public String getTeacherName()
	{
		return teacherName;
	}
	public void setTeacherName(String teacherName)
	{
		this.teacherName = teacherName;
	}
	
}
